package cn.klaw.base.model.OnlineImport;

import cn.klaw.model.visualJson.TableModel;
import lombok.Data;

import java.sql.Connection;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 导入验证 表单验证
 *
 *
 * @version V3.4.5
 *
 * @date  2022/11/12
 */
@Data
public class ImportFormCheckUniqueModel {
	private boolean isUpdate;
	private boolean isMain;
	private String id;
	private String dbLinkId;
	private String flowId;
	private List<String> flowIdList = new ArrayList<>();
	/**
	 * 主键
	 */
	private Connection connection;
	private Integer primaryKeyPolicy;
	private Boolean logicalDelete = false;
	private List<ImportDataModel> importDataModel = new ArrayList<>();
	private List<TableModel> tableModelList;
	private List<Map<String, Object>> childMap;
	private Integer childIndex;
}
